//状态库

import {defineStore} from 'pinia'
import {ref} from 'vue'
export const userStore= defineStore("user",()=>{
	let count=ref(0)
	let user=ref({})
	function increment(){
		count.value++
	}
	return{
		count,increment,user
	}
})